package com.tax.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author 段德辉
 */
@Data
public class LoginReq {

    @ApiModelProperty(notes = "电话号码", example = "13714404565", required = true)
    @NotBlank(message = "请输入电话号码")
    private String telephone;

    @ApiModelProperty(notes = "登录验证码", example = "092312")
    private String regCode;

    @ApiModelProperty(value = "密码")
    private String passwordHash;

    @NotBlank(message = "登录类型不能为空")
    @ApiModelProperty(notes = "登录类型，validcode:短信验证码,password:密码")
    private String userLoginType;

}
